<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/* 项目基础样式 */
	@import "./app.scss";

	html,
	body {
		height: 100%;
		width: 100%;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		/* overflow: hidden; */
		-webkit-overflow-scrolling: touch;
	}

	body::-webkit-scrollbar {
		/* overflow: hidden !important; */
		display: none !important;
	}

	/* 将toast的z-index设置为最高 */
	uni-toast {
		z-index: 99999 !important;
		/* 根据实际情况进行调整 */
	}

	/* 将toast的z-index设置为最高 */


	.uni-app--showlayout+uni-tabbar.uni-tabbar-bottom,
	.uni-app--showlayout+uni-tabbar.uni-tabbar-bottom .uni-tabbar,
	.uni-app--showlayout+uni-tabbar.uni-tabbar-top,
	.uni-app--showlayout+uni-tabbar.uni-tabbar-top .uni-tabbar {
		left: var(--window-left);
		right: var(--window-right);
	}

	/* #ifdef H5 */
	uni-page-head {
		display: none;
	}

	/* #endif */
</style>